<!-- TinyMCE -->
<script type="text/javascript" src="../../../asset/scripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
	tinyMCE.init({
		// General options
		mode : "textareas",
		theme : "simple",
		plugins : "paste",

		theme_advanced_toolbar_location : "top", 
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_resizing : true
	});	
</script>
{mstrbarang}
<form method="post" name="frmEdit" action="<?php echo site_url('masterbarangcontroller/ubahmasterbarang');?>">
    <h3 align="center"><u><strong>EDIT DAFTAR BARANG</strong></u> </h3>
    <table width="100%" cellpadding="3" cellspacing="0" border="1">
        <tr>
            <td width="120"><strong>Kode Barang</strong></td>
            <td width="23" align="center"><strong>:</strong></td>
            <td width="828" colspan="3"><input type="text"  name="kdbrng" id="kdbrng" maxlength="12" size="25" value="{KodeBarang}" readonly="readonly"/></td>
        </tr>
        <tr>
            <td width="120"><strong>Nama Barang</strong></td>
            <td width="23" align="center"><strong>:</strong></td>
            <td ><input type="text"  name="nmbrng" id="nmbrng" size="25" maxlength="20" value="{Productname}"/></td>
        </tr>
        <tr>
			<td width="120"><strong>Keterangan</strong></td>
            <td width="23" align="center"><strong>:</strong></td>
            <td>
                <input type="text"  name="description" id="description" size="100" value="{Description}"/>
            </td>
		</tr>
        <tr>
            <td width="120"><strong>Tipe Unit</strong></td>
            <td width="23" align="center"><strong>:</strong></td>
            <td>
            	<select name="tpunit">
                	<option value="{Typeunit}">{Typeunit}</option>
                    <option value="BTG">Batang</option>
                    <option value="DUS">Dus</option>
                    <option value="LBR">Lembar</option>
                    <option value="PCS">Pcs</option>
                    <option value="ROLL">Roll</option>
                </select>
            </td>
        </tr>
        <tr>
            <td colspan="3" align="center"><input type="submit" value="Save" name="btnSave" >&nbsp;<input type="button" name="btnClose" value="Back" class="btn" onclick="javascript:history.back(1);" /></td>
        </tr>
    </table>
</form>
{/mstrbarang}